package com.guonl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.core.env.ConfigurableEnvironment;

@SpringBootApplication
public class SpringAiApplication {

    public static void main(String[] args) {

        /**
         * -Dhttps.proxySet=true -Dhttp.proxyHost=localhost -Dhttp.proxyPort=8888
         */

        //设置代理
        System.setProperty("proxyType", "4");
        System.setProperty("proxyHost", "127.0.0.1");
        System.setProperty("proxyPort", "8118");
        System.setProperty("proxySet", "true");

        SpringApplication.run(SpringAiApplication.class, args);
    }

}
